package com.wordLearning.word.application.convert;

import com.wordLearning.word.application.dto.UnmasteredWordDTO;
import com.wordLearning.word.domain.entity.UnmasteredWordBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UnmasterDTOConverter {

    UnmasterDTOConverter INSTANCE = Mappers.getMapper(UnmasterDTOConverter.class);

    UnmasteredWordBO convertUnmasteredWordDTOToBO(UnmasteredWordDTO unmasteredWordDTO);

    UnmasteredWordDTO convertUnmasteredWordBOToDTO(UnmasteredWordBO unmasteredWordBO);
}
